﻿using SmartSpace.Web;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SmartSpace.WebApp.Template.Prototype
{
    public partial class MainPanel : System.Web.UI.UserControl, IMainPanel
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //this.RegisterCss("_parts", "_templates/_site/enterprise", "./resources/_parts.css");

            //this.RegisterCss("base", "_templates/_site/enterprise", "./resources/base.css");
            //this.RegisterCss("header", "_templates/_site/enterprise", "./resources/header.css");
            //this.RegisterCss("body", "_templates/_site/enterprise", "./resources/body.css");
            //this.RegisterCss("footer", "_templates/_site/enterprise", "./resources/footer.css");
        }

        public INavigationPanel GetNavigatePanel()
        {
            return this._ctlNavigationPanel;
        }

        public IWorkAreaPanel GetWorkAreaPanel()
        {
            return _ctlWorkAreaPanel;
        }

        public IHeaderPanel GetHeaderPanel()
        {
            return _ctlHeaderPanel;
        }

        public IFooterPanel GetFooterPanel()
        {
            return _ctlFooterPanel;
        }

        public Control GetContentView()
        {
            return this;
        }
    }
}